from django.conf.urls import url, include

from apps.users import views

urlpatterns = [
    url(r'^login/$', views.LoginView.as_view(), name='login'),
    url(r'^register/$', views.RegisterView.as_view(), name='register'),
    url(r'^logout/$', views.LogoutView.as_view(), name='logout'),  # 退出登录
    url(r'^forget/$', views.ForgetPwdView.as_view(), name='forget'),  # 忘记密码
    url(r'^forgetsecond/$', views.ForgetPwd2View.as_view(), name='forget_second'),  # 忘记密码2
    url(r'^forgetthird/$', views.ForgetPwd3View.as_view(), name='forget_third'),  # 忘记密码3
    url(r'^usersetting/$', views.UserSettingView.as_view(), name='user_setting'),  # 绑定邮箱QQ
    url(r'^updatepwd/$', views.UserSettingTWOView.as_view(), name='update_pwd'),  # 修改密码
]
